package com.ruoyi.exam.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.exam.viewmodel.admin.education.SubjectPageRequestVM;

import java.util.List;

/**
 * <p>
 *  学科表 服务类
 * </p>
 *
 * @author FSD
 * @since 2024-02-23
 */
public interface ISubjectService extends IService<Subject> {

    List<Subject> getSubjectByLevel(Integer level);

    Integer levelBySubjectId(Integer id);

    Page<Subject> page(SubjectPageRequestVM requestVM);

}
